home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compendium Deluxe 1
/
LSD Compendium Deluxe 1.iso
/
a
/
programming
/
misc
/
m2_part1.lha
/
modula
/
dice
/
dice.LHA
/
examples
/
count.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1990-05-20
|
217 b
|
22 lines
/*
* COUNT.C
*/
#include <stdio.h>
main(ac, av)
char *av[];
{
long i;
if (ac == 1) {
puts("count <startvalue>");
exit(1);
}
for (i = atoi(av[1]); i; --i)
printf("%d\n", i);
return(0);
}